package com.yanqu.road.entity.assistant;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

@FieldTypeAnnotation(tableName = "t_u_assistant_suit")
public class UserAssistantSuit extends DataObject {
    @FieldTypeAnnotation(desc = "用户id",select = true,update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "套装id",select = true,update = true)
    private int suitId;
    @FieldTypeAnnotation(desc = "套装等级")
    private int suitLevel;

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public int getSuitId() {
        return suitId;
    }
    public void setSuitId(int suitId) {
        if (this.suitId != suitId) {
            this.suitId = suitId;
            setOp(DataStatus.Update);
        }
    }

    public int getSuitLevel() {
        return suitLevel;
    }
    public void setSuitLevel(int suitLevel) {
        if (this.suitLevel != suitLevel) {
            this.suitLevel = suitLevel;
            setOp(DataStatus.Update);
        }
    }
}
